package com.system.model.mind;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.system.model.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDate;
import java.util.List;

/**
 * <p>
 * 测评题
 * </p>
 *
 * @author system
 * @since 2024-02-20
 */
@Data
@ApiModel(description = "测评题")
@TableName("subject")
public class Subject extends BaseEntity {

    private static final long serialVersionUID = 1L;

//    /**
//     * 主键
//     */
//      @TableId(value = "id", type = IdType.AUTO)
//    private Integer id;

    /**
     * 题目
     */
    @ApiModelProperty(value = "题目")
    @TableField("tit")
    private String tit;

//    /**
//     * 单选/多选
//     */
//    @ApiModelProperty(value = "单选/多选")
//    @TableField("options")
//    private Integer options;

    /**
     * 心理测评ID
     */
    @ApiModelProperty(value = "心理测评ID")
    @TableField("topicId")
    private Integer topId;

    /**
     * 选项ID
     */
    @ApiModelProperty(value = "选项")
    @TableField("choices")
    private String choices;

    /**
     * 解释
     */
    @ApiModelProperty(value = "解释")
    @TableField("explain")
    private String explain;

    /**
     * 设置分数
     */
    @ApiModelProperty(value = "设置分数")
    @TableField("num")
    private String num;

    @TableField(exist = false)
    private List<String> elect;

    @TableField(exist = false)
    private List<String> explainList;

    @TableField(exist = false)
    private List<String> nums;

//    /**
//     * 创建时间
//     */
//    private LocalDate createTime;
//
//    /**
//     * 更新时间
//     */
//    private LocalDate updateTime;


}
